package cn.edu.nenu.contract.dto;

import java.io.Serializable;
import java.util.List;


/**
 * @author Kaginux
 * @version 6:30:09 PM May 1, 2011
 */
public class TaskSolverDTO implements Serializable  {
	private static final long serialVersionUID = 1L;

	private int id;
	private String name;
	private List<AssignmentDTO> currentAssignments;
	private List<AssignmentDTO> nextWeekAssignments;
	private int workHoursThisYear;

	@Override
	public String toString() {
		return "TaskSolverDTO [id=" + id + ", name=" + name
				+ ", currentAssignments=" + currentAssignments
				+ ", nextWeekAssignments=" + nextWeekAssignments
				+ ", workHoursThisYear=" + workHoursThisYear + "]";
	}
	public TaskSolverDTO(int id, String name,
			List<AssignmentDTO> currentAssignments,
			List<AssignmentDTO> nextWeekAssignments, int workHoursThisYear) {
		super();
		this.id = id;
		this.name = name;
		this.currentAssignments = currentAssignments;
		this.nextWeekAssignments = nextWeekAssignments;
		this.workHoursThisYear = workHoursThisYear;
	}
	public int getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public List<AssignmentDTO> getCurrentAssignments() {
		return currentAssignments;
	}
	public List<AssignmentDTO> getNextWeekAssignments() {
		return nextWeekAssignments;
	}
	public int getWorkHoursThisYear() {
		return workHoursThisYear;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setCurrentAssignments(List<AssignmentDTO> currentAssignments) {
		this.currentAssignments = currentAssignments;
	}
	public void setNextWeekAssignments(List<AssignmentDTO> nextWeekAssignments) {
		this.nextWeekAssignments = nextWeekAssignments;
	}
	public void setWorkHoursThisYear(int workHoursThisYear) {
		this.workHoursThisYear = workHoursThisYear;
	}
}
